package com.D5Power.Editor.Objects
{
	import com.D5Power.Controler.NCharacterControler;
	import com.D5Power.Objects.NCharacterObject;
	
	import flash.geom.Point;
	
	public class NCharacterObject_MaEd extends NCharacterObject
	{
		public var startPos:Point;
		public var username:String;
		
		public function NCharacterObject_MaEd(ctrl:NCharacterControler=null)
		{
			super(ctrl);
		}
		
		override public function setName(_name:String, color:int=-1, bordercolor:int=0):void
		{
			super.setName(_name,color,bordercolor);
			username=_name;
		}
		
		override public function set Pos(p:Point):void
		{
			super.Pos=p;
			startPos=p;
		}
	}
}